const ajax = window.ajaxBusinessContract;
//当期合同
export const apiBusinessContractList = (param) => ajax.request(`/v1/business/contract/query`, 'post', param, {
  showLoading: true
});
//销售额上报审核
export const saleReprotCreate = (params) => ajax.request(`/v1/business/finance/sale/reprot/create`, 'post', params, {
  showLoading: true
});
//销售额上报审核列表
export const saleReprotList = (params) => ajax.request(`/v1/business/finance/sale/reprot/list`, 'post', params, {
  showLoading: true
});
//销售额上报审核列表导出 
export const saleReprotOut = (params) => ajax.request(`/v1/business/finance/sale/reprot/list/export`, 'post', params, {
  showLoading: true
});
//销售额上报审核详情
export const saleReprotDetail = (params) => ajax.request(`/v1/business/finance/sale/reprot/detail/${params}`, 'get', '', {
  showLoading: true
});
//提交审核
export const apiCreateAudit = (param) => ajax.request(`/v1/contract/process/business/createRuOrder`, 'post', param, {
  showLoading: true
});
//流程意见
export const apiFlowOption = (param) => window.ajaxBase.request(`/v1/rent/process/business/getMessage`, 'post', param, {
  showLoading: true
});